import { CANROCNET } from "@/api/config/servicePort";
import { ResPage, LogByAuth } from "@/api/interface/index";
import http from "@/api";

/**
 * 获取登录日志列表
 *
 * @param params 登录日志查询参数
 * @returns 返回登录日志列表
 */
export const getLogByAuthPageApi = (params: LogByAuth.PageParams) => {
  return http.get<ResPage<LogByAuth.Result>>(`${CANROCNET}/api/log-by-auth/page`, params);
};
